package com.letv.core.bean;

import java.util.ArrayList;

import com.alibaba.fastjson.annotation.JSONField;

/*
 * Video List 键中所对应的所有的Value字段的集合
 */
public class TabVideoListBean implements LetvBaseBean {
    private static final long serialVersionUID = 1L;
    /**
     * Video List
     */
    @JSONField(name = "videoInfo")
    private ArrayList<VideoBean> videoInfoList;

    @JSONField(name = "pagenum")
    private String pagenum;

    @JSONField(name = "totalNum")
    private String totalNum;

    @JSONField(name = "episodeNum")
    private String episodeNum;

    @JSONField(name = "previewList")
    private ArrayList<VideoBean> previewList;

    @JSONField(name = "showOuterVideolist")
    private String showOuterVideolist;

    @JSONField(name = "varietyShow")
    private String varietyShow;
    
    @JSONField(name = "style")
    private String style;

    @JSONField(name = "albumInfo")
    private AlbumNewListByDateBean albumNewListByDatePlayerLibs;

    @JSONField(name = "recAlbumInfo")
    private RecAlbumBean recAlbumInfo;

    // @JSONField(name = "relateList")
    // private TabRelateListBean relateList;
    /*
     * The below is relate page
     */
    @JSONField(name = "cmsdata")
    private ArrayList<CmsBean> cmsDataList;

    @JSONField(name = "relateAlbums")
    private ArrayList<AlbumNew> relateAlbumList;

    @JSONField(name = "recData")
    private ArrayList<VideoBean> recDataList;

    @JSONField(name = "selfVideo")
    private VideoBean selfVideo;

    public TabVideoListBean() {
        videoInfoList = new ArrayList<VideoBean>();
        previewList = new ArrayList<VideoBean>();
        albumNewListByDatePlayerLibs = new AlbumNewListByDateBean();
//        recAlbumInfo = new RecAlbumBean();
        // relateList = new TabRelateListBean();

        cmsDataList = new ArrayList<CmsBean>();
        relateAlbumList = new ArrayList<AlbumNew>();
        recDataList = new ArrayList<VideoBean>();
        // selfVideo = new VideoBean();
    }

    public String getPagenum() {
        return pagenum;
    }

    public void setPagenum(String pagenum) {
        this.pagenum = pagenum;
    }

    public String getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(String totalNum) {
        this.totalNum = totalNum;
    }

    public String getEpisodeNum() {
        return episodeNum;
    }

    public void setEpisodeNum(String episodeNum) {
        this.episodeNum = episodeNum;
    }

    public ArrayList<VideoBean> getVideoInfoList() {
        return videoInfoList;
    }

    public void setVideoInfoList(ArrayList<VideoBean> videoInfoList) {
        this.videoInfoList = videoInfoList;
    }

    public ArrayList<VideoBean> getPreviewList() {
        for (int i = 0; i < previewList.size(); i++) {
            if (previewList.get(i) != null
                    && previewList.get(i).getPlay() != 1) {
                previewList.remove(i);
            }
        }
        return previewList;
    }

    public void setPreviewList(ArrayList<VideoBean> previewList) {        
        this.previewList = previewList;
    }

    public String getShowOuterVideolist() {
        return showOuterVideolist;
    }

    public void setShowOuterVideolist(String showOuterVideolist) {
        this.showOuterVideolist = showOuterVideolist;
    }

    public String getVarietyShow() {
        return varietyShow;
    }

    public void setVarietyShow(String varietyShow) {
        this.varietyShow = varietyShow;
    }

    public AlbumNewListByDateBean getAlbumNewListByDatePlayerLibs() {
        return albumNewListByDatePlayerLibs;
    }

    public void setAlbumNewListByDatePlayerLibs(AlbumNewListByDateBean albumNewListByDatePlayerLibs) {
        this.albumNewListByDatePlayerLibs = albumNewListByDatePlayerLibs;
    }

    public RecAlbumBean getRecAlbumInfo() {
        return recAlbumInfo;
    }

    public void setRecAlbumInfo(RecAlbumBean recAlbumInfo) {
        this.recAlbumInfo = recAlbumInfo;
    }

    // public TabRelateListBean getRelateList() {
    // return relateList;
    // }
    //
    // public void setRelateList(TabRelateListBean relateList) {
    // this.relateList = relateList;
    // }

    public ArrayList<CmsBean> getCmsDataList() {
        return cmsDataList;
    }

    public void setCmsDataList(ArrayList<CmsBean> cmsDataList) {
        this.cmsDataList = cmsDataList;
    }

    public ArrayList<AlbumNew> getRelateAlbumList() {
        return relateAlbumList;
    }

    public void setRelateAlbumList(ArrayList<AlbumNew> relateAlbumList) {
        this.relateAlbumList = relateAlbumList;
    }

    public ArrayList<VideoBean> getRecDataList() {
        return recDataList;
    }

    public void setRecDataList(ArrayList<VideoBean> recDataList) {
        this.recDataList = recDataList;
    }

    public VideoBean getSelfVideo() {
        return selfVideo;
    }

    public void setSelfVideo(VideoBean selfVideo) {
        this.selfVideo = selfVideo;
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }
}
